package com.bean;

import java.io.Serializable;
import java.util.Date;

public class Comment implements Serializable {

    private Integer id;
    private String realName;
    private Integer movie;
    private Date commentTime;
    private String content;
    private Integer state;
    private Integer spare;

    public Comment() {
    }

    public Comment(Integer id, String realName, Integer movie, Date commentTime, String content, Integer state, Integer spare) {
        this.id = id;
        this.realName = realName;
        this.movie = movie;
        this.commentTime = commentTime;
        this.content = content;
        this.state = state;
        this.spare = spare;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", realName='" + realName + '\'' +
                ", movie=" + movie +
                ", commentTime=" + commentTime +
                ", content='" + content + '\'' +
                ", state=" + state +
                ", spare=" + spare +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getMovie() {
        return movie;
    }

    public void setMovie(Integer movie) {
        this.movie = movie;
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getSpare() {
        return spare;
    }

    public void setSpare(Integer spare) {
        this.spare = spare;
    }
}
